<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>RuoYi - 404</title>
    <link th:href="@{/css/bootstrap.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/animate.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/style.min.css}" rel="stylesheet"/>
    <style rel="stylesheet">
        .text-center h2 {
            font-size: 4em;
        }

        .text-center {
            margin: 8% auto auto 25%;
        }

        .body-bg {
            background-image: url('/img/404.png');
            margin: 0;
            padding: 0;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            height: 100%;
        }
        body{
            color: #fffbe6;
        }
        .error-desc a{
            display: block;
            margin-left: 40%;
            width: 80px;
        }
    </style>
</head>

<body class="gray-bg body-bg" >
    <div class="middle-box text-center animated fadeInDown">
        <!--    <h1>404</h1>-->
        <!--    <h3 class="font-bold">找不到网页！</h3>-->
        <h2>找不到网页</h2>
        <div class="error-desc">
            对不起，您正在寻找的页面不存在。尝试检查URL的错误，然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
            <a href="javascript:index()" class="btn btn-primary m-t">主页</a>
        </div>
    </div>
    <script th:inline="javascript">
        var ctx = [[@{/}]];
            function index() {
                window.top.location = ctx + "index";
            }
    </script>
</body>
</html>